package com.wjk.cms.service;




import com.wjk.cms.pojo.User;

import java.util.List;

public interface UserService {

    void save(User bean);

    User getByPhone( String phone);

    User getByUnionid(String phone);



    List<User> findAll();

    User findById(Long id);

    List<User> findAll( String keyword, Integer pageNo, Integer pageSize);


    List<User> findChildren(Long userId, String keywords,Integer pageNo, Integer pageSize);


    User getByWxXcxOpenid(String openid);

    User getByTypeAndWxXcxOpenid(String s, String openid);
}
